package org.qydjk.h5.constant;

import org.qydjk.common.util.PropertiesUtil;

import java.util.Properties;

/**
 * 项目基础配置
 */
public class H5Constant {
    public static String rootPath;

    static {
        System.out.println("load H5Constant config......");
        reload();
        System.out.println("load H5Constant config completely");
    }

    public static void reload() {
        Properties wechat = PropertiesUtil.createProperties("config.properties");
        rootPath = wechat.getProperty("rootPath");
    }
}
